/********************************************************************
	created:	2013/01/02
	created:	2:1:2013   0:02
	filename: 	E:\Code\DataStructure\Code\DataStructure\Struct.h
	file path:	E:\Code\DataStructure\Code\DataStructure
	file base:	Struct
	file ext:	h
	author:		DianWang
	
	purpose:	Public Struct
*********************************************************************/

#pragma once
#include "Macro.h"

struct Node
{
    Node()
    {
        data = 0;
        next = NULL;
    }

    double data;
    Node* next;
};


struct Data
{
    int key;
    double satellite;
};

struct NodeEx
{
    NodeEx()
    {
        data.key = 0;
        data.satellite = 0.0;
        prior = NULL;
        next = NULL;
    }

    Data data;
    NodeEx* prior;
    NodeEx* next;
};